<template>
  <header class="header">
    <div class="header-box">
      <div class="left">
        <HeaderLogo />
        <span>{{ title }}</span>
      </div>
      <div class="right">
        <slot></slot>
      </div>
    </div>
  </header>
</template>

<script>
import HeaderLogo from "@/components/Header/HeaderLogo";
export default {
  name: "LrHeader",
  components: { HeaderLogo },
  props: ["title"],
};
</script>

<style scoped lang="less">
.header {
  height: 110px;
  width: 100%;
  .header-box {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    height: 110px;
    display: flex;
    align-items: center;
    .left {
      width: 50%;
      float: left;
      display: flex;
      align-items: center;
      span {
        font-size: 20px;
        color: #666;
      }
    }
    .right {
      width: 50%;
      float: right;
      a {
        float: right;
        font-size: 12px;
        color: #666;
      }
    }
  }
}
</style>